﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="All-NewsAlertPending.aspx.cs" Inherits="MediaMonitor.Users.All_NewsAlertPending" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Pending News alert</title>
     <link rel="stylesheet" href="../css/style.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <div class="wrapper-content" id="content">
            <div class="container">
                <div class="news-page">
                    <div class="press-head">
                        <h1 style="text-align: center;">
                        <asp:Image ID="imgHead" runat="server" />
                           </h1><asp:LoginStatus ID="lgnStatus" runat="server"  LogoutPageUrl="~/logout.aspx"
                                         LogoutAction="Redirect" />
                        <div class="sort-date">
                            <h2>
                                Sort By: <span>Date</span></h2>
                        </div>
                    </div>
                <div class="news-content ">
                        <div class="press-content media-content">
                            <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
                           
                                <asp:Panel ID="ListViewPanel1" runat="server">
                                    <telerik:RadListView ID="RadListView1" runat="server" 
                                        DataKeyNames="ID" CssClass="media-content">
                                   
                                        <ItemTemplate>
                                            
             <div id="Div4" runat="server" visible='<%# ifTrue(Eval("MediaTypeName"))%>' class="span3 press-inn tv-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>

         <div id="Div1" runat="server" visible='<%# ifPreshTrue(Eval("MediaTypeName"))%>' class="span3 press-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>
                                             <div id="Div2" runat="server" visible='<%# ifRadioTrue(Eval("MediaTypeName"))%>' class="span3 press-inn radio-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>
                                      <div id="Div3" runat="server" visible='<%# ifInternetTrue(Eval("MediaTypeName"))%>' class="span3 press-inn internet-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                       

             <div id="Div1" runat="server" visible='<%# ifTrue(Eval("MediaTypeName"))%>' class="span3 press-inn tv-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>

         <div id="Div2" runat="server" visible='<%# ifPreshTrue(Eval("MediaTypeName"))%>' class="span3 press-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>
                                             <div id="Div3" runat="server" visible='<%# ifRadioTrue(Eval("MediaTypeName"))%>' class="span3 press-inn radio-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>
                                      <div id="Div4" runat="server" visible='<%# ifInternetTrue(Eval("MediaTypeName"))%>' class="span3 press-inn internet-inn">
                                                <h2>
                                                     <%# Eval("MediaTypeName")%> - <small>
                                                        <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></small></h2>
                                                <div class="press-data">
                                                    <h5>
                                                        <%#Eval("Title")%></h5>
                                                    <div class="info">
                                                        <p>
                                                            <b>Fecha:</b>
                                                            <%# Convert.ToDateTime(Eval("RFDate")).ToString("d")%></p>
                                                        <p>
                                                            <b>Medio:</b><span class="blue-color">
                                                                <%#Eval("MediaName")%>
                                                            </span>
                                                        </p>
                                                        <p>
                                                            <b>Seccion:</b> <span>
                                                                <%#Eval("SectionDescription")%></span></p>
                                                    </div>
                                                    <div class="press-detail">
                                                        <p>
                                                            <%#Eval("NewsSummary")%></p>
                                                    </div>
                                                </div>
                                                <div class="button-div">
                                                    <div class="button-div-text">
                                                        <p>
                                                            Calificacion:<span>
                                                                <%#Eval("Calification")%></span></p>
                                                        <p>
                                                            Importancia:<span>
                                                                <%#Eval("Important")%></span></p>
                                                    </div>
                                                    <div class="button">
                                                        <a href="#">
                                                            <img src="../images/icon.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/icon1.jpg">
                                                        </a><a href="#">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../images/chat-icon.jpg">
                                                        </a>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                </div>
                                            </div>
                                          
                                        </AlternatingItemTemplate>
                                    </telerik:RadListView>
                                </asp:Panel>
                                <div style="color: Red;font-size: xx-large;text-align: center;">
                                <asp:Label ID="lblNoRecord" runat="server"  Text="" ForeColor="red" Font-Size="XX-Large"></asp:Label></div>
                            </div>
                        </div>
                    </div>
                </div>
        </div>
    </div>
    </form>
</body>
</html>
